package xyz.zhno.factory.builder;

import java.io.Serializable;

/**
 * 账户实体
 * @author zh_o
 * @date 2020-11-14
 */
public class Account implements Serializable {

    private String accountNo;

    private Double amount;

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "Account{" +
                "accountNo='" + accountNo + '\'' +
                ", amount=" + amount +
                '}';
    }

}
